package Composite.impl;

import Composite.service.Counter;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.Setter;

/**
 * @author chengjunjie
 * @date 2025-09-10
 */

@Getter
@Setter
@AllArgsConstructor
public class City implements Counter {
    private int sum = 0;

    @Override
    public int count() {
        return sum;
    }
}
